//Domain
//http://order.x-juse.com/
//Namespace
//Juse.Interface
//ClassName
//JSShop.BLL.Interface.UserOrder
//请勿修改上述接口信息
namespace Juse.Interface
{
    public class UserOrder : wnxd.Web.InterfaceBase
    {
        public UserOrder()
        {
            this.Domain = "http://order.x-juse.com/";
            this.Namespace = "JSShop.BLL.Interface";
            this.ClassName = "UserOrder";
        }
        public System.Data.DataTable GetUserOrder(System.Int32 userid, JSShop.Model.OrderQuery query)
        {
            wnxd.javascript.json r = this.Run("1DF88BF3C108AA43D15DE1694C421358", userid, query);
            return (System.Data.DataTable)r.TryConvert(typeof(System.Data.DataTable));
        }
        public System.Collections.Generic.List<JSShop.Model.Hishop_Orders> GetUserOrderList(System.Int32 userid, JSShop.Model.OrderQuery query)
        {
            wnxd.javascript.json r = this.Run("3E1A591C349CAFBF61E8907B0D76CFB8", userid, query);
            return (System.Collections.Generic.List<JSShop.Model.Hishop_Orders>)r.TryConvert(typeof(System.Collections.Generic.List<JSShop.Model.Hishop_Orders>));
        }
        public System.Collections.Generic.List<JSShop.Model.Hishop_Orders> GetUserOrderAll(System.String strWhere)
        {
            wnxd.javascript.json r = this.Run("65BE4E7911D6B2C8480B9DE135C0EE7B", strWhere);
            return (System.Collections.Generic.List<JSShop.Model.Hishop_Orders>)r.TryConvert(typeof(System.Collections.Generic.List<JSShop.Model.Hishop_Orders>));
        }
        public System.Collections.Generic.List<JSShop.Model.Hishop_Orders> GetOrderListForHuoDong()
        {
            wnxd.javascript.json r = this.Run("6257751204607AB31F8E5DFCF408B842");
            return (System.Collections.Generic.List<JSShop.Model.Hishop_Orders>)r.TryConvert(typeof(System.Collections.Generic.List<JSShop.Model.Hishop_Orders>));
        }
        public JSShop.Model.DbQueryResultOrders GetUserOrderDbQueryResult(System.Int32 userid, JSShop.Model.OrderQuery query)
        {
            wnxd.javascript.json r = this.Run("88CAB3C281C8EC4598917810E85BAE42", userid, query);
            return (JSShop.Model.DbQueryResultOrders)r.TryConvert(typeof(JSShop.Model.DbQueryResultOrders));
        }
        public System.Collections.Generic.List<JSShop.Model.Hishop_OrderItems> GetItemsByOrderId(System.String OrderId)
        {
            wnxd.javascript.json r = this.Run("F1C16E8908EA79774C907854545D775C", OrderId);
            return (System.Collections.Generic.List<JSShop.Model.Hishop_OrderItems>)r.TryConvert(typeof(System.Collections.Generic.List<JSShop.Model.Hishop_OrderItems>));
        }
        /// <summary>
        /// 获取部门列表
        /// </summary>
        public System.Collections.Generic.IList<JSShop.Model.aspnet_Roles> GetRolesList(System.String strWhere)
        {
            wnxd.javascript.json r = this.Run("A49FB1A0BAF591BF195C980F043CAEE7", strWhere);
            return (System.Collections.Generic.IList<JSShop.Model.aspnet_Roles>)r.TryConvert(typeof(System.Collections.Generic.IList<JSShop.Model.aspnet_Roles>));
        }
        /// <summary>
        /// 获取部门分页列表
        /// </summary>
        public JSShop.Model.DbQueryResultRoles GetRolesList(System.Int32 pageIndex, System.Int32 pageSize, System.String sortBy, System.String filter)
        {
            wnxd.javascript.json r = this.Run("29565A5CB3C4EC61A5C1BD99A47E5E28", pageIndex, pageSize, sortBy, filter);
            return (JSShop.Model.DbQueryResultRoles)r.TryConvert(typeof(JSShop.Model.DbQueryResultRoles));
        }
        /// <summary>
        /// 增加一条部门数据
        /// </summary>
        public System.Boolean Add(JSShop.Model.aspnet_Roles model)
        {
            wnxd.javascript.json r = this.Run("81BF475218EE96FE7398386641F80D3C", model);
            return (System.Boolean)r.TryConvert(typeof(System.Boolean));
        }
        /// <summary>
        /// 修改一条部门数据
        /// </summary>
        public System.Boolean Update(JSShop.Model.aspnet_Roles model)
        {
            wnxd.javascript.json r = this.Run("47C3E55F9BA67B2A1896B1EA260CE8F2", model);
            return (System.Boolean)r.TryConvert(typeof(System.Boolean));
        }
        /// <summary>
        /// 得到一个部门对象实体
        /// </summary>
        public JSShop.Model.aspnet_Roles GetModel(System.Guid RoleId)
        {
            wnxd.javascript.json r = this.Run("659FEE52D9D3B8E76D5B788C47AD41DF", RoleId);
            return (JSShop.Model.aspnet_Roles)r.TryConvert(typeof(JSShop.Model.aspnet_Roles));
        }
        /// <summary>
        /// 删除一条部门数据
        /// </summary>
        public System.Boolean Delete(System.Guid RoleId)
        {
            wnxd.javascript.json r = this.Run("31050AB54816BEDFD962D2C6F8EDD650", RoleId);
            return (System.Boolean)r.TryConvert(typeof(System.Boolean));
        }
        /// <summary>
        /// 获取部门及相应权限
        /// </summary>
        public System.Collections.Generic.IList<JSShop.Model.vw_Roles> GetRolesItemList(System.String strWhere)
        {
            wnxd.javascript.json r = this.Run("3E16EAAC65FBFA6DB45502DFA49EC6F0", strWhere);
            return (System.Collections.Generic.IList<JSShop.Model.vw_Roles>)r.TryConvert(typeof(System.Collections.Generic.IList<JSShop.Model.vw_Roles>));
        }
        /// <summary>
        /// 设置部门权限
        /// </summary>
        public System.Boolean SetUserRoles(System.Guid RoleId, JSShop.Model.JS_PrivilegeInRoles model)
        {
            wnxd.javascript.json r = this.Run("D1F72B42169F2DCEFECD2E274C7094C0", RoleId, model);
            return (System.Boolean)r.TryConvert(typeof(System.Boolean));
        }
        /// <summary>
        /// 获取客服列表[后台]
        /// </summary>
        public System.Collections.Generic.IList<JSShop.Model.vw_JS_Kefu> GetKefuList(System.String strWhere)
        {
            wnxd.javascript.json r = this.Run("75E9F3603EC19B11AED91E0B419B56A7", strWhere);
            return (System.Collections.Generic.IList<JSShop.Model.vw_JS_Kefu>)r.TryConvert(typeof(System.Collections.Generic.IList<JSShop.Model.vw_JS_Kefu>));
        }
        /// <summary>
        /// 获取客服列表分页[后台]
        /// </summary>
        public JSShop.Model.DbQueryResultAllocationMan GetKefuList(System.Int32 pageIndex, System.Int32 pageSize, System.String sortBy, System.String filter)
        {
            wnxd.javascript.json r = this.Run("924525AF89BD944D35492E99971D354F", pageIndex, pageSize, sortBy, filter);
            return (JSShop.Model.DbQueryResultAllocationMan)r.TryConvert(typeof(JSShop.Model.DbQueryResultAllocationMan));
        }
        /// <summary>
        /// [获取后台用户]
        /// </summary>
        public System.Collections.Generic.IList<JSShop.Model.JS_Manager> GetManagerUser(System.String strWhere)
        {
            wnxd.javascript.json r = this.Run("EC18FA38482F7859A3C9F39410E2131A", strWhere);
            return (System.Collections.Generic.IList<JSShop.Model.JS_Manager>)r.TryConvert(typeof(System.Collections.Generic.IList<JSShop.Model.JS_Manager>));
        }
        /// <summary>
        /// [获取后台用户试图列表]
        /// </summary>
        public System.Collections.Generic.IList<JSShop.Model.vw_JS_Manager> GetManagerVwManager(System.String strWhere)
        {
            wnxd.javascript.json r = this.Run("B49502EC339452D17B8AB5C16618B49D", strWhere);
            return (System.Collections.Generic.IList<JSShop.Model.vw_JS_Manager>)r.TryConvert(typeof(System.Collections.Generic.IList<JSShop.Model.vw_JS_Manager>));
        }
        /// <summary>
        /// [获取后台用户试图分页列表]
        /// </summary>
        public JSShop.Model.DbQueryResultvwManager GetManagerVwManager(System.Int32 pageIndex, System.Int32 pageSize, System.String sortBy, System.String filter)
        {
            wnxd.javascript.json r = this.Run("6D6A7482658CA35E6F329BC49D0316A0", pageIndex, pageSize, sortBy, filter);
            return (JSShop.Model.DbQueryResultvwManager)r.TryConvert(typeof(JSShop.Model.DbQueryResultvwManager));
        }
        /// <summary>
        /// [根据用户Id获取后台用户Model]
        /// </summary>
        public JSShop.Model.JS_Manager GetManagerUserModel(System.Int32 UserId)
        {
            wnxd.javascript.json r = this.Run("D6175C28B41CCAFECB00E92F176257FB", UserId);
            return (JSShop.Model.JS_Manager)r.TryConvert(typeof(JSShop.Model.JS_Manager));
        }
        /// <summary>
        /// [根据用户名获取后台用户Model]
        /// </summary>
        public JSShop.Model.JS_Manager GetManagerUserModel(System.String UserName)
        {
            wnxd.javascript.json r = this.Run("6A8D7D50F1A0E5FE7FCC7D9A6F4412EE", UserName);
            return (JSShop.Model.JS_Manager)r.TryConvert(typeof(JSShop.Model.JS_Manager));
        }
        /// <summary>
        /// [添加后台用户]
        /// </summary>
        public System.Boolean AddManager(JSShop.Model.JS_Manager model, JSShop.Model.JS_UsersInRoles rolemodel)
        {
            wnxd.javascript.json r = this.Run("8B6D6972F635BDA42DA87980329EDF5D", model, rolemodel);
            return (System.Boolean)r.TryConvert(typeof(System.Boolean));
        }
        /// <summary>
        /// [修改后台用户]
        /// </summary>
        public System.Boolean UpdateManager(JSShop.Model.JS_Manager model, JSShop.Model.JS_UsersInRoles rolemodel)
        {
            wnxd.javascript.json r = this.Run("3A62F6687AD991CFFFACFCA9AC41B4D1", model, rolemodel);
            return (System.Boolean)r.TryConvert(typeof(System.Boolean));
        }
        /// <summary>
        /// [删除后台用户]
        /// </summary>
        public System.Boolean DelManager(System.String UserId)
        {
            wnxd.javascript.json r = this.Run("E88A81BCCEBE2D2B2C233464F91A4A84", UserId);
            return (System.Boolean)r.TryConvert(typeof(System.Boolean));
        }
        /// <summary>
        /// [是否存在该用户]
        /// </summary>
        public System.Boolean ExistsManager(System.String UserId, System.String UserName)
        {
            wnxd.javascript.json r = this.Run("D5BD178B69C126F4531E15E3D06F3B81", UserId, UserName);
            return (System.Boolean)r.TryConvert(typeof(System.Boolean));
        }
        /// <summary>
        /// [获取用户权限]
        /// </summary>
        public System.String GetUserPrivilege(System.Int32 UserId)
        {
            wnxd.javascript.json r = this.Run("EA505D38E6DA266F3A0EF50DF3555DB5", UserId);
            return (System.String)r.TryConvert(typeof(System.String));
        }
        /// <summary>
        /// [获取用户名称]
        /// </summary>
        public System.String GetUserRoleName(System.Int32 UserId)
        {
            wnxd.javascript.json r = this.Run("47E8B5C63F704D7BA2B45EB54506B5AA", UserId);
            return (System.String)r.TryConvert(typeof(System.String));
        }
        /// <summary>
        /// [修改密码]
        /// </summary>
        public System.Boolean UpdatePwd(System.String UserId, System.String Password)
        {
            wnxd.javascript.json r = this.Run("99062309ABC977F4EABE9101FE19FB7E", UserId, Password);
            return (System.Boolean)r.TryConvert(typeof(System.Boolean));
        }
        /// <summary>
        /// 获取回访用户列表[后台]
        /// </summary>
        public System.Collections.Generic.IList<JSShop.Model.vw_JS_HuiFang> GetHuiFangManList(System.String strWhere)
        {
            wnxd.javascript.json r = this.Run("D1E647CFBDB30D56860F923EB7439BB1", strWhere);
            return (System.Collections.Generic.IList<JSShop.Model.vw_JS_HuiFang>)r.TryConvert(typeof(System.Collections.Generic.IList<JSShop.Model.vw_JS_HuiFang>));
        }
        /// <summary>
        /// 获取回访用户列表分页[后台]
        /// </summary>
        public JSShop.Model.DbQueryResultHuiFangMan GetHuiFangManList(System.Int32 pageIndex, System.Int32 pageSize, System.String sortBy, System.String filter)
        {
            wnxd.javascript.json r = this.Run("C9037C592348A8513C4F8C99DAAAEF57", pageIndex, pageSize, sortBy, filter);
            return (JSShop.Model.DbQueryResultHuiFangMan)r.TryConvert(typeof(JSShop.Model.DbQueryResultHuiFangMan));
        }
        public JSShop.Model.Hishop_Orders GetModelByOrderId(System.String OrderId)
        {
            wnxd.javascript.json r = this.Run("B1AA2E789EB895F27B2E5F1A365F5A19", OrderId);
            return (JSShop.Model.Hishop_Orders)r.TryConvert(typeof(JSShop.Model.Hishop_Orders));
        }
        /// <summary>
        /// 添加订单信息
        /// </summary>
        public System.Boolean AddByModel(JSShop.Model.Hishop_Orders model)
        {
            wnxd.javascript.json r = this.Run("404857BC958F677D029D20014B7EB6FC", model);
            return (System.Boolean)r.TryConvert(typeof(System.Boolean));
        }
        /// <summary>
        /// 修改订单信息
        /// </summary>
        public System.Boolean UpdateByModel(JSShop.Model.Hishop_Orders model)
        {
            wnxd.javascript.json r = this.Run("38A4E925B52F2BFB09322915F357A978", model);
            return (System.Boolean)r.TryConvert(typeof(System.Boolean));
        }
        /// <summary>
        /// 修改订单状态
        /// </summary>
        public System.Boolean UpdateOrderStatus(System.String OrderId, System.Int32 OrderStatus)
        {
            wnxd.javascript.json r = this.Run("62AB6F01D9891B0D7AE50DC4CFE584D2", OrderId, OrderStatus);
            return (System.Boolean)r.TryConvert(typeof(System.Boolean));
        }
        public System.Data.DataTable GetOrderGoods(System.String orderids)
        {
            wnxd.javascript.json r = this.Run("72B2451BA7FEA79565E59EBDB0AD8F48", orderids);
            return (System.Data.DataTable)r.TryConvert(typeof(System.Data.DataTable));
        }
        /// <summary>
        /// 获取订单带条件列表[后台]
        /// </summary>
        public System.Collections.Generic.IList<JSShop.Model.vw_JS_OrderAllRepeatFiter> GetManagerOrderWhereList(System.Collections.Generic.Dictionary<System.String, System.String> dic)
        {
            wnxd.javascript.json r = this.Run("A723721B7F4A776D6EE7E23A772BFB80", dic);
            return (System.Collections.Generic.IList<JSShop.Model.vw_JS_OrderAllRepeatFiter>)r.TryConvert(typeof(System.Collections.Generic.IList<JSShop.Model.vw_JS_OrderAllRepeatFiter>));
        }
        /// <summary>
        /// 获取订单分页列表[后台]
        /// </summary>
        public JSShop.Model.DbQueryResultManageOrders GetManagerOrderList(System.Collections.Generic.Dictionary<System.String, System.String> dic)
        {
            wnxd.javascript.json r = this.Run("994C96B3ECBD005B0F5F668F00A9C2A8", dic);
            return (JSShop.Model.DbQueryResultManageOrders)r.TryConvert(typeof(JSShop.Model.DbQueryResultManageOrders));
        }
        /// <summary>
        /// 添加分配人员[后台]
        /// </summary>
        public System.Boolean AddAllocation(System.String orderid, System.String userid, System.String username)
        {
            wnxd.javascript.json r = this.Run("510D4429BE340AA155DB2BF54267F199", orderid, userid, username);
            return (System.Boolean)r.TryConvert(typeof(System.Boolean));
        }
        /// <summary>
        /// 删除订单[后台]
        /// </summary>
        public System.Boolean DelOrder(System.String orderid, System.String username)
        {
            wnxd.javascript.json r = this.Run("D79397915586427DB10DC58EF9FEA6E4", orderid, username);
            return (System.Boolean)r.TryConvert(typeof(System.Boolean));
        }
        /// <summary>
        /// 删除订单记录日志[后台]
        /// </summary>
        public System.Boolean DelOrderRecord(System.String orderid, System.String username, System.String remark)
        {
            wnxd.javascript.json r = this.Run("E5F9A3F0A9080D51B63F260A4E06F1D1", orderid, username, remark);
            return (System.Boolean)r.TryConvert(typeof(System.Boolean));
        }
        /// <summary>
        /// [免审核]
        /// </summary>
        public System.Boolean msh(System.String orderid, System.String userid, System.String username)
        {
            wnxd.javascript.json r = this.Run("9CEE70C991792586589AD8B387908481", orderid, userid, username);
            return (System.Boolean)r.TryConvert(typeof(System.Boolean));
        }
        /// <summary>
        /// [写订单日志]
        /// </summary>
        public System.Boolean OrderOperationLog(System.String orderid, System.Int32 operatetype, System.String username, System.String reason, System.String remark)
        {
            wnxd.javascript.json r = this.Run("7992AEA4E415F6CEC698D9137AFAE5E0", orderid, operatetype, username, reason, remark);
            return (System.Boolean)r.TryConvert(typeof(System.Boolean));
        }
        /// <summary>
        /// [获取备注类型]
        /// </summary>
        public System.Collections.Generic.IList<JSShop.Model.JS_OperateType> RemarkTypeList(System.String strWhere)
        {
            wnxd.javascript.json r = this.Run("B52BDA008198A33C3AC465E16EDD3610", strWhere);
            return (System.Collections.Generic.IList<JSShop.Model.JS_OperateType>)r.TryConvert(typeof(System.Collections.Generic.IList<JSShop.Model.JS_OperateType>));
        }
        /// <summary>
        /// [获取最新备注]
        /// </summary>
        public JSShop.Model.JS_OperateRemrk GetLastRemark(System.String orderid)
        {
            wnxd.javascript.json r = this.Run("9C19EB737BCA8C43252C08BFA0C09355", orderid);
            return (JSShop.Model.JS_OperateRemrk)r.TryConvert(typeof(JSShop.Model.JS_OperateRemrk));
        }
        /// <summary>
        /// [获取物流信息]
        /// </summary>
        public System.String WLInfo(System.String shippedNum)
        {
            wnxd.javascript.json r = this.Run("13C62ECB2CB3D8AAE7E4A10EE8794F10", shippedNum);
            return (System.String)r.TryConvert(typeof(System.String));
        }
        /// <summary>
        /// [订单不显示，结束处理]
        /// </summary>
        public System.Boolean EnabledOrder(System.String orderid)
        {
            wnxd.javascript.json r = this.Run("5650ADB857149980428DA1D1FAC6D2CA", orderid);
            return (System.Boolean)r.TryConvert(typeof(System.Boolean));
        }
        /// <summary>
        /// [修改订单状态并把ShipOrderNumber设置为空]
        /// </summary>
        public System.Boolean UpdateOrderStatusClearShipOrderNumber(System.String orderid, System.Int32 orderstatus)
        {
            wnxd.javascript.json r = this.Run("41BE54F6A525D4DBA3CC911188E64051", orderid, orderstatus);
            return (System.Boolean)r.TryConvert(typeof(System.Boolean));
        }
        /// <summary>
        /// [获取备注试图列表]
        /// </summary>
        public System.Collections.Generic.IList<JSShop.Model.vw_JS_OperateRemrk> GetViewOperateRemrkList(System.String strWhere, System.String orderBy)
        {
            wnxd.javascript.json r = this.Run("1180F7134E99B72690D9512073A888F1", strWhere, orderBy);
            return (System.Collections.Generic.IList<JSShop.Model.vw_JS_OperateRemrk>)r.TryConvert(typeof(System.Collections.Generic.IList<JSShop.Model.vw_JS_OperateRemrk>));
        }
        /// <summary>
        /// [获取订单产品Model(skuid,productid)]
        /// </summary>
        public JSShop.Model.Hishop_OrderItems GetOrderItemsModel(System.String OrderId, System.String SkuId, System.String ProductId)
        {
            wnxd.javascript.json r = this.Run("A8A83DA9584DA68D682D7748AF1A2BEF", OrderId, SkuId, ProductId);
            return (JSShop.Model.Hishop_OrderItems)r.TryConvert(typeof(JSShop.Model.Hishop_OrderItems));
        }
        /// <summary>
        /// [添加订单商品]
        /// </summary>
        public System.Boolean AddOrderItemsModel(JSShop.Model.Hishop_OrderItems model)
        {
            wnxd.javascript.json r = this.Run("436A623C589B895381395FA4B6DE86DF", model);
            return (System.Boolean)r.TryConvert(typeof(System.Boolean));
        }
        /// <summary>
        /// [修改订单商品]
        /// </summary>
        public System.Boolean UpdateOrderItemsModel(JSShop.Model.Hishop_OrderItems model)
        {
            wnxd.javascript.json r = this.Run("ACF7A82DEE83E0631B59D683A7430B8B", model);
            return (System.Boolean)r.TryConvert(typeof(System.Boolean));
        }
        /// <summary>
        /// [删除订单商品]
        /// </summary>
        public System.Boolean DelOrderItemsModel(JSShop.Model.Hishop_OrderItems model)
        {
            wnxd.javascript.json r = this.Run("3295335BD2BBA4D3C6C99746D7667775", model);
            return (System.Boolean)r.TryConvert(typeof(System.Boolean));
        }
        /// <summary>
        /// [执行sql]
        /// </summary>
        public System.Boolean ExecSql(System.String strSql)
        {
            wnxd.javascript.json r = this.Run("0427F7CFEC856BC4512B0AE0B3048EB3", strSql);
            return (System.Boolean)r.TryConvert(typeof(System.Boolean));
        }
        /// <summary>
        /// [获取订单礼物列表]
        /// </summary>
        public System.Collections.Generic.IList<JSShop.Model.Hishop_OrderGifts> GetOrderGiftList(System.String OrderId)
        {
            wnxd.javascript.json r = this.Run("6815FD07B72A5F48D7966978D2BC9F8A", OrderId);
            return (System.Collections.Generic.IList<JSShop.Model.Hishop_OrderGifts>)r.TryConvert(typeof(System.Collections.Generic.IList<JSShop.Model.Hishop_OrderGifts>));
        }
        /// <summary>
        /// [获取商品统计列表]
        /// </summary>
        public System.Collections.Generic.IList<JSShop.Model.vw_JS_OrderSaleTotal> GetSaleOrderList(System.Collections.Generic.Dictionary<System.String, System.String> par)
        {
            wnxd.javascript.json r = this.Run("6FCA9A715A830B920EC48388548022B4", par);
            return (System.Collections.Generic.IList<JSShop.Model.vw_JS_OrderSaleTotal>)r.TryConvert(typeof(System.Collections.Generic.IList<JSShop.Model.vw_JS_OrderSaleTotal>));
        }
        /// <summary>
        /// [获取商品统计分页列表]
        /// </summary>
        public JSShop.Model.DbQueryResultSaleTotal GetSaleOrderPageList(System.Collections.Generic.Dictionary<System.String, System.String> par)
        {
            wnxd.javascript.json r = this.Run("9EBC5E8808C0D083312EB1A2168D9973", par);
            return (JSShop.Model.DbQueryResultSaleTotal)r.TryConvert(typeof(JSShop.Model.DbQueryResultSaleTotal));
        }
        /// <summary>
        /// [获取回收站分页列表]
        /// </summary>
        public JSShop.Model.DbQueryResultRecycleOrders GetManagerRecycleOrderList(System.Collections.Generic.Dictionary<System.String, System.String> dic)
        {
            wnxd.javascript.json r = this.Run("E71481825FBCE46C9723F1E6CC2D85D4", dic);
            return (JSShop.Model.DbQueryResultRecycleOrders)r.TryConvert(typeof(JSShop.Model.DbQueryResultRecycleOrders));
        }
        /// <summary>
        /// [从回收站还原订单]
        /// </summary>
        public System.Boolean ReOrder(System.String orderid)
        {
            wnxd.javascript.json r = this.Run("034D8FC08BC74EE3112F03FBE552E8F5", orderid);
            return (System.Boolean)r.TryConvert(typeof(System.Boolean));
        }
        /// <summary>
        /// [获取带条件回收站订单纪录]
        /// </summary>
        public System.Collections.Generic.IList<JSShop.Model.vw_JS_Orderrecyclebin> GetRecycleOrderOneList(System.String strWhere)
        {
            wnxd.javascript.json r = this.Run("3113FCACD6854E7337C5C9DB5EB5B26A", strWhere);
            return (System.Collections.Generic.IList<JSShop.Model.vw_JS_Orderrecyclebin>)r.TryConvert(typeof(System.Collections.Generic.IList<JSShop.Model.vw_JS_Orderrecyclebin>));
        }
        /// <summary>
        /// [获取回收站订单产品]
        /// </summary>
        public System.Collections.Generic.IList<JSShop.Model.JS_OrderItems> GetRecycleOrderItemList(System.String strWhere)
        {
            wnxd.javascript.json r = this.Run("F232E7777B85EA84B8CB365CCFAE3942", strWhere);
            return (System.Collections.Generic.IList<JSShop.Model.JS_OrderItems>)r.TryConvert(typeof(System.Collections.Generic.IList<JSShop.Model.JS_OrderItems>));
        }
        /// <summary>
        /// [获取新增订单数]
        /// </summary>
        public System.Int32 GetAddOrderCount(System.String OrderDate)
        {
            wnxd.javascript.json r = this.Run("BC6109CF8110EEF82AF2EADE2D4860A3", OrderDate);
            return (System.Int32)r.TryConvert(typeof(System.Int32));
        }
        /// <summary>
        /// [获取新增订单数]
        /// </summary>
        public System.String GetAddOrderCounts(System.String OrderDate, System.Collections.Generic.Dictionary<System.String, System.String> dic)
        {
            wnxd.javascript.json r = this.Run("447C75B259FB1443D0433852E38D8FA0", OrderDate, dic);
            return (System.String)r.TryConvert(typeof(System.String));
        }
        /// <summary>
        /// [商品统计数据校正]
        /// </summary>
        public System.String sjjzData(System.String strwhere)
        {
            wnxd.javascript.json r = this.Run("FE02D0541D4898F43B7A2DE222236F25", strwhere);
            return (System.String)r.TryConvert(typeof(System.String));
        }
        /// <summary>
        /// [获取备注类型列表]
        /// </summary>
        public JSShop.Model.DbQueryRemarkType GetRemarkTypeList(System.Collections.Generic.Dictionary<System.String, System.String> par)
        {
            wnxd.javascript.json r = this.Run("345396E98639402A7168155812791BEC", par);
            return (JSShop.Model.DbQueryRemarkType)r.TryConvert(typeof(JSShop.Model.DbQueryRemarkType));
        }
        /// <summary>
        /// [备注类型添加]
        /// </summary>
        public System.Boolean RemarkTypeAdd(JSShop.Model.JS_OperateType model)
        {
            wnxd.javascript.json r = this.Run("0791969F171243BC918E11CA8F80D363", model);
            return (System.Boolean)r.TryConvert(typeof(System.Boolean));
        }
        /// <summary>
        /// [备注类型修改]
        /// </summary>
        public System.Boolean RemarkTypeUpdate(JSShop.Model.JS_OperateType model)
        {
            wnxd.javascript.json r = this.Run("5FB7E7B8A2708C467A6FD32820279E4C", model);
            return (System.Boolean)r.TryConvert(typeof(System.Boolean));
        }
        /// <summary>
        /// [得到备注类型Model]
        /// </summary>
        public JSShop.Model.JS_OperateType GetRemarkTypeModel(System.Int32 OperateId)
        {
            wnxd.javascript.json r = this.Run("869C527FE8C9348F0F45B313ACC143C9", OperateId);
            return (JSShop.Model.JS_OperateType)r.TryConvert(typeof(JSShop.Model.JS_OperateType));
        }
        /// <summary>
        /// [删除备注类型]
        /// </summary>
        public System.Boolean RemarkTypeDel(System.Int32 OperateId)
        {
            wnxd.javascript.json r = this.Run("525721B4A7B311766E4F324E79872E1E", OperateId);
            return (System.Boolean)r.TryConvert(typeof(System.Boolean));
        }
        /// <summary>
        /// [根据订单ID获取订单信息]
        /// </summary>
        public System.Data.DataSet GetOrderInfo(System.String orderId)
        {
            wnxd.javascript.json r = this.Run("A5CF83CA30DACA1A5897EE50ACA0CDC9", orderId);
            return (System.Data.DataSet)r.TryConvert(typeof(System.Data.DataSet));
        }
        /// <summary>
        /// [根据电话号码获取订单Id]
        /// </summary>
        public System.String GetUserMaxOrderId(System.String cellPhone)
        {
            wnxd.javascript.json r = this.Run("8C5552122420FB5818326B272EFD13F6", cellPhone);
            return (System.String)r.TryConvert(typeof(System.String));
        }
        /// <summary>
        /// [根据发货单号修改签收状态]
        /// </summary>
        public System.Boolean UpdateOrderStatusByShipOrderNumber(System.String ShipOrderNumber, System.Int32 orderstatus)
        {
            wnxd.javascript.json r = this.Run("2CD3C97446B231DC24F9A4C7EA65B04A", ShipOrderNumber, orderstatus);
            return (System.Boolean)r.TryConvert(typeof(System.Boolean));
        }
        /// <summary>
        /// [获取JS_ShipOrderNumber的model]
        /// </summary>
        public JSShop.Model.JS_ShipOrderNumber GetShipOrderNumberModel(System.String SnShipOrderNumber)
        {
            wnxd.javascript.json r = this.Run("A67AD8F97672DC2C9AB52B52B77C8C6A", SnShipOrderNumber);
            return (JSShop.Model.JS_ShipOrderNumber)r.TryConvert(typeof(JSShop.Model.JS_ShipOrderNumber));
        }
        /// <summary>
        /// [添加JS_ShipOrderNumber]
        /// </summary>
        public System.Boolean AddShipOrderNumber(JSShop.Model.JS_ShipOrderNumber model)
        {
            wnxd.javascript.json r = this.Run("7B7390B52E528404A2BFB77E3A2049E6", model);
            return (System.Boolean)r.TryConvert(typeof(System.Boolean));
        }
        /// <summary>
        /// [删除JS_ShipOrderNumber]
        /// </summary>
        public System.Boolean DelShipOrderNumber(System.String SnShipOrderNumber)
        {
            wnxd.javascript.json r = this.Run("000C2FA3B3DDB6A51D7A62F9A2691CB2", SnShipOrderNumber);
            return (System.Boolean)r.TryConvert(typeof(System.Boolean));
        }
        /// <summary>
        /// [删除JS_ShipOrderNumber]
        /// </summary>
        public System.Boolean DeleteShipOrderNumberDetail(System.String SndShipOrderNumber)
        {
            wnxd.javascript.json r = this.Run("AA388312326B60EA9B11F9DA01330650", SndShipOrderNumber);
            return (System.Boolean)r.TryConvert(typeof(System.Boolean));
        }
        /// <summary>
        /// [添加JS_ShipOrderNumberDetail]
        /// </summary>
        public System.Boolean AddShipOrderNumberDetail(JSShop.Model.JS_ShipOrderNumberDetail model)
        {
            wnxd.javascript.json r = this.Run("E5BA1796FC0B36031EB7B99C6CB7598E", model);
            return (System.Boolean)r.TryConvert(typeof(System.Boolean));
        }
        /// <summary>
        /// 获取获取回访信息的分页列表
        /// </summary>
        public JSShop.Model.DbQueryResultReOrdersAll GetReOrderAllList(System.Collections.Generic.Dictionary<System.String, System.String> dic)
        {
            wnxd.javascript.json r = this.Run("367DECA00360BB7675EDED842056DDD7", dic);
            return (JSShop.Model.DbQueryResultReOrdersAll)r.TryConvert(typeof(JSShop.Model.DbQueryResultReOrdersAll));
        }
        /// <summary>
        /// [获取回访信息的model]
        /// </summary>
        public JSShop.Model.JS_ReOrderInfo GetReOrderInfoModel(System.String OrderId)
        {
            wnxd.javascript.json r = this.Run("282B48E16C6EA2E4AD3C2C11489F4AF8", OrderId);
            return (JSShop.Model.JS_ReOrderInfo)r.TryConvert(typeof(JSShop.Model.JS_ReOrderInfo));
        }
        /// <summary>
        /// [添加回访信息]
        /// </summary>
        public System.Boolean AddReOrderInfo(JSShop.Model.JS_ReOrderInfo model)
        {
            wnxd.javascript.json r = this.Run("99E2E6C2B0985C2701F6091DED41145A", model);
            return (System.Boolean)r.TryConvert(typeof(System.Boolean));
        }
        /// <summary>
        /// [修改回访信息]
        /// </summary>
        public System.Boolean UpdateReOrderInfo(JSShop.Model.JS_ReOrderInfo model)
        {
            wnxd.javascript.json r = this.Run("ED414E3091F88643C558B6F45F00B891", model);
            return (System.Boolean)r.TryConvert(typeof(System.Boolean));
        }
        /// <summary>
        /// [删除回访信息]
        /// </summary>
        public System.Boolean DelReOrderInfo(System.String OrderId)
        {
            wnxd.javascript.json r = this.Run("2E28AD33B4BCF795D9CD1A2DF1E897E2", OrderId);
            return (System.Boolean)r.TryConvert(typeof(System.Boolean));
        }
        /// <summary>
        /// [判断此订单是否发过回访信息]
        /// </summary>
        public System.Boolean ExistsReOrderInfo(System.String OrderId)
        {
            wnxd.javascript.json r = this.Run("5F9976CE924FF9DF8636CDF3A481C97D", OrderId);
            return (System.Boolean)r.TryConvert(typeof(System.Boolean));
        }
        /// <summary>
        /// [重置订单]
        /// </summary>
        public System.Boolean ResetOrder(System.String orderid)
        {
            wnxd.javascript.json r = this.Run("2B713719B17400ADDE70236F9D0D0167", orderid);
            return (System.Boolean)r.TryConvert(typeof(System.Boolean));
        }
    }
}